package com.jtfr.pojo;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel // @ApiModel 注解 实体类
public class User implements Serializable {

	private static final long serialVersionUID = -2230871342806609875L;
	
	private Long id;
    @ApiModelProperty("用户名") // @ApiModelProperty 注解字段
    private String username;
    @ApiModelProperty("密码")
    private String password;

    public User() {}

    public User(Long id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
    
    
}
